package com.lgy.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lgy.mapper.UserMapper;
import com.lgy.model.dto.UserDto;
import com.lgy.model.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {
    @Override
    public List<UserDto> searchByAges(List<Integer> ages) {
        return baseMapper.searchByAges(ages);
    }
}
